/*
 * @Author: bsj
 * @Date: 2024-04-17
 * @LastEditors: baoshijie
 * @LastEditTime: 2024-10-16
 * @Description: file content
 * @FilePath: \notomWeb\src\api\public.js
 */
import request from "@/utils/request";

/**
 * @description: 航信通告分类
 * @param {*} data
 * @return {*}
 */
export function classify(data) {
  return request({
    url: $API.classify,
    method: "post",
    data: data
  });
}

/**
 * @description: 提取单个机场运营状态事件
 * @param {*} data
 * @return {*}
 */
export function extract(data) {
  return request({
    url: $API.extract,
    method: "post",
    data: data,
  });
}

/**
 * @description:航行通告翻译接口
 * @param {*} data
 * @return {*}
 */
export function translate(data) {
  return request({
    url: $API.translate,
    method: "post",
    data: data,
  });
}

/**
 * @description: 提取航路事件信息
 * @param {*} data
 * @return {*}
 */
export function extractRoute(data) {
  return request({
    url: $API.extractRoute,
    method: "post",
    data: data,
  });
}